﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000003 RID: 3
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AAGFBGAHGMC : IMessage<AAGFBGAHGMC>, IMessage, IEquatable<AAGFBGAHGMC>, IDeepCloneable<AAGFBGAHGMC>, IBufferMessage
	{
		// Token: 0x17000002 RID: 2
		// (get) Token: 0x06000003 RID: 3 RVA: 0x000020B2 File Offset: 0x000002B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AAGFBGAHGMC> Parser
		{
			get
			{
				return AAGFBGAHGMC._parser;
			}
		}

		// Token: 0x17000003 RID: 3
		// (get) Token: 0x06000004 RID: 4 RVA: 0x000020B9 File Offset: 0x000002B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AAGFBGAHGMCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000004 RID: 4
		// (get) Token: 0x06000005 RID: 5 RVA: 0x000020CB File Offset: 0x000002CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AAGFBGAHGMC.Descriptor;
			}
		}

		// Token: 0x06000006 RID: 6 RVA: 0x000020D2 File Offset: 0x000002D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAGFBGAHGMC()
		{
		}

		// Token: 0x06000007 RID: 7 RVA: 0x000020DA File Offset: 0x000002DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAGFBGAHGMC(AAGFBGAHGMC other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06000008 RID: 8 RVA: 0x000020F3 File Offset: 0x000002F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AAGFBGAHGMC Clone()
		{
			return new AAGFBGAHGMC(this);
		}

		// Token: 0x06000009 RID: 9 RVA: 0x000020FB File Offset: 0x000002FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AAGFBGAHGMC);
		}

		// Token: 0x0600000A RID: 10 RVA: 0x00002109 File Offset: 0x00000309
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AAGFBGAHGMC other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600000B RID: 11 RVA: 0x00002128 File Offset: 0x00000328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600000C RID: 12 RVA: 0x0000214E File Offset: 0x0000034E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600000D RID: 13 RVA: 0x00002156 File Offset: 0x00000356
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600000E RID: 14 RVA: 0x0000215F File Offset: 0x0000035F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600000F RID: 15 RVA: 0x00002178 File Offset: 0x00000378
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06000010 RID: 16 RVA: 0x0000219E File Offset: 0x0000039E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AAGFBGAHGMC other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06000011 RID: 17 RVA: 0x000021BB File Offset: 0x000003BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06000012 RID: 18 RVA: 0x000021C4 File Offset: 0x000003C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000002 RID: 2
		private static readonly MessageParser<AAGFBGAHGMC> _parser = new MessageParser<AAGFBGAHGMC>(() => new AAGFBGAHGMC());

		// Token: 0x04000003 RID: 3
		private UnknownFieldSet _unknownFields;
	}
}
